home *** CD-ROM | disk | FTP | other *** search
- global gDur, gSound, gMediaType, gManager
-
- on exitFrame me
- case gMediaType of
- #quickTimeMedia:
- if sprite(1).movieTime >= gDur then
- gSound.mPlaySound()
- go("main")
- else
- go(the frame)
- end if
- #flash:
- if not sprite(1).playing then
- gSound.mPlaySound()
- go("main")
- else
- go(the frame)
- end if
- end case
- end
-